package com.vc.aha_server_event.service;

import com.vc.aha_server_event.dto.TravelThroughPageDTO;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;

/**
* @author ShaoZhenbang
* @description
* @date 2022/3/31
*/
@Service
public class PageTrackingService {
    @Resource
    private MongoTemplate mongoTemplate;

    public void savePageTrackInfo(TravelThroughPageDTO travelThroughPageDTO){
        mongoTemplate.save(travelThroughPageDTO.getData());
    }

}
